package com.hotel.entitys;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "Fix",description = "房间维修信息")
public class Fix {
    @ApiModelProperty(value = "主键自增")
    private Integer fix_id;
    @ApiModelProperty(value = "维修编号")
    private String fix_code;
    private Integer room_id;
    private Room room;
    private Integer staff_id;
    private Staff staff;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date fix_in_time;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date fix_out_time;
    @ApiModelProperty(value = "维修状态")
    private String fix_type;
}
